home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10497 < prev    next >
Encoding:
Text File  |  1996-08-05  |  882 b   |  21 lines

  1. Path: il.ft.hse.nl!not-for-mail
  2. From: robert@il.ft.hse.nl (robert)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Example of an unintelligible program in C
  5. Date: 18 Mar 1996 09:58:22 +0100
  6. Organization: LSD...melts in your mind, not in your hand
  7. Message-ID: <4ij8je$lb9@charm.il.ft.hse.nl>
  8. References: <4iegj7$evn@bee.uspnet.usp.br> <4if0i4$qsm@garden.csc.calpoly.edu>
  9. NNTP-Posting-Host: charm.il.ft.hse.nl
  10.  
  11. dstubbs@garden.csc.calpoly.edu (Dan Stubbs):
  12.  >Here is one of my favorites. Guess what it does! Apply a formatter
  13.  >such as cb or indent to it if you really want to make it obscure.
  14.  
  15. Here's another one:
  16. main(w){float x=25,q=80,a=-2,c=-1.2,e=(1-a)/q,f=(-c-c)/x,y,g,h=c,r,i,u=x,v;for(;
  17. u--;h+=f)for(v=q,g=a;v--;g+=e,putchar(w[".,:;=+itIYVXRBM "]))for(w=r=i=0;x=r,y=i
  18. ,r=x*x-y*y+g,i=2*x*y+h,w<15&&r*r+i*i<4;w++);}
  19.  
  20.                                                                 robert 
  21.